@charset 'utf-8';
@import './reset.scss';

nav {
    width: 1920px;
    height: 75px;
    // border: 1px solid;
    position: relative;

    .imgbox1 {
        width: 130px;
        height: 52px;
        position: absolute;
        left: 180px;
        top: 10px;
    }

    input {
        width: 220px;
        height: 25px;
        position: absolute;
        left: 400px;
        top: 25px;
        border-radius: 15px;
    }

    .imgbox2 {
        position: absolute;
        left: 585px;
        top: 28px;
    }

    .dropdown {
        width: 440px;
        height: 40px;
        position: absolute;
        top: 15px;
        left: 770px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        line-height: 50px;

        li {
            &:hover {
                color: rgb(209, 9, 9);
                font-weight: 800;
                border-bottom: 3px solid rgb(209, 9, 9);
            }
        }

        li a {
            color: gray;
            text-decoration-line: none;
            font-size: 20px;

            &:hover {
                color: rgb(209, 9, 9);
                font-weight: 800;
            }
        }
    }

    .navRight {
        width: 220px;
        height: 70px;
        position: absolute;
        right: 300px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;

        .register {
            font-size: 18px;
            border: 1px solid;
            width: 90px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            background-color: white;
        }

        .login {
            @extend .register;
        }
    }
}

main{
    width: 1920px;
    height: 2800px;
    position: relative;
    .article{
        width: 1200px;
        height: 435px;
        margin: 0px auto;
        border-bottom: 1px solid gray;
        text-align: center;
        p{
            font-size: 80px;
            margin-top: 200px;
        }
        span{
            font-size: 35px;
        }
    }
    .artwork{
        width: 1300px;
        height: 140px;
        position: relative;
        margin: 0px auto;
        .textLeft {
            font-size: 40px;
            position: absolute;
            top: 100px;
            left: 50px;
            color: gray;
        }

        .more {
            width: 120px;
            height: 30px;
            position: absolute;
            top: 100px;
            right: 50px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;

            p a {
                font-size: 20px;
                color: gray;
                text-decoration-line: none;
            }

            .dayu {
                width: 20px;
                height: 20px;
                background-color: gray;
                border-radius: 100%;
                color: white;
                text-align: center;
            }
        }
    }
    .content{
        width: 1300px;
        height: 1950px;
        background-color: rgb(231, 229, 229);
        margin: 55px auto;
        position: relative;
        ul {
            width: 1200px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            position: absolute;
            top: -30px;
            left: 50px;
            li{
                width: 392px;
                border: 1px solid gray;
                background-color: white;
                padding-bottom: 40px;
                position: relative;
                margin-bottom: 20px;
                p{
                    font-size: 18px;
                    margin: 10px 5px;
                }
                .text{
                    font-size: 15px;
                    margin: 40px 5px;
                    span{
                        color: red;
                    }
                }
                .libottom{
                    width: 370px;
                    display: flex;
                    justify-content: space-between;
                    position: absolute;
                    left: 5px;
                    bottom: 10px;
                    font-size: 18px;
                    span{
                        color: gray;
                    }
                    .like{
                        border: 1px solid gray;
                        border-radius: 15px;
                    }
                }
            }
        }
        .loading{
            width: 90px;
            height: 90px;
            position: absolute;
            bottom: 100px;
            right: 605px;
            img{
                width: 100%;
            }
            p{
                color: gray;
                font-size: 20px;
                position: absolute;
                bottom: -30px;
                left: 15px;
            }
        }
        .shuming {
            width: 45px;
            height: 35px;
            background-color: red;
            color: white;
            position: absolute;
            bottom: 0px;
            left: 627.5px;
            line-height: 35px;
            text-align: center;
    
            p {
                transform: rotate(270deg);
                font-size: 40px;
                font-weight: 700;
                position: absolute;
                top: -10px;
                left: 0px;
            }
        }
       
    }
    .mainBottom {
        width: 1920px;
        text-align: center;
        font-size: 25px;
        color: gray;
        position: absolute;
        bottom: 15px;
    }
    

}
footer{
    width: 1920px;
    height: 140px;
    background-color: rgb(231, 229, 229);
    position: relative;
    img{
        width: 100%;
    }
    .address{
        width: 800px;
        height: 55px;
        position: absolute;
        top: 42.5px;
        left: 560px;
        text-align: center;
        p{
            margin: 10px;
            color: gray;
        }
    }
    .code{
        width: 110px;
        height: 110px;
        position: absolute;
        right: 350px;
        top: 15px;
    }
    .juxing{
        width: 70px;
        height: 30px;
        position: absolute;
        right: 369px;
        top: 55px;
    }
    .woyi{
        @extend .juxing;
    }
}